package com.retail.lottery.colalottery.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.retail.lottery.colalottery.entity.ColaAnswerRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author jarvis.zhang
 * @description 针对表【cola_answer_record(可乐答题记录表)】的数据库操作Mapper
 * @createDate 2025-06-17 13:41:24
 * @Entity com.retail.lottery.colalottery.entity.ColaAnswerRecord
 */
public interface ColaAnswerRecordMapper extends BaseMapper<ColaAnswerRecord> {

    ColaAnswerRecord queryAnswerResult(@Param("questionId") Integer questionId, @Param("openId") String openId, @Param("oneid") String oneid);

    List<ColaAnswerRecord> queryAnswerResultList(@Param("buCode") String buCode, @Param("setupId") String setupId
            , @Param("openId") String openId, @Param("oneid") String oneid);
}




